package com.xishu.entity.customer;

import com.xishu.entity.AbstractEntity;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Entity;
import javax.persistence.Index;
import javax.persistence.Table;

@Entity(name = "notice_history")
@Table(indexes = {@Index(columnList = "companyId")})
public class NoticeHistory extends AbstractEntity {
    @ApiModelProperty(value = "公司ID")
    private Long companyId;

    @ApiModelProperty(value = "计划还是非计划的提醒")
    private Boolean plan;

    @ApiModelProperty(value = "是否是邮件不够用了")
    private Boolean email;

    @ApiModelProperty(value = "使用完了")
    private Boolean usedOut;

    @ApiModelProperty(value = "第2天")
    private Boolean nextDay;

    @ApiModelProperty(value = "过去1周")
    private Boolean oneWeek;

    @ApiModelProperty(value = "过去2周")
    private Boolean twoWeek;

    public Boolean getNextDay() {
        return nextDay;
    }

    public void setNextDay(Boolean nextDay) {
        this.nextDay = nextDay;
    }

    public Boolean getEmail() {
        return email;
    }

    public void setEmail(Boolean email) {
        this.email = email;
    }

    public Boolean getUsedOut() {
        return usedOut;
    }

    public void setUsedOut(Boolean usedOut) {
        this.usedOut = usedOut;
    }

    public Boolean getOneWeek() {
        return oneWeek;
    }

    public void setOneWeek(Boolean oneWeek) {
        this.oneWeek = oneWeek;
    }

    public Boolean getTwoWeek() {
        return twoWeek;
    }

    public void setTwoWeek(Boolean twoWeek) {
        this.twoWeek = twoWeek;
    }

    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public Boolean getPlan() {
        return plan;
    }

    public void setPlan(Boolean plan) {
        this.plan = plan;
    }
}
